﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="wfRegInfTrab.aspx.cs" Inherits="wfRegInfTrab" %>

<%@ Register Src="../wuc/wuc_Header.ascx" TagName="wuc_Header" TagPrefix="uc1" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Registro del informe de trabajos realizados</title>
    <link rel="stylesheet" href="../styles/a-main/a-main.css" type="text/css"/>
    <script language="javascript" src="../include/popcalendar.js"></script>    
    <script language="javascript" src="../include/fecha.js"></script>
    <script language="javascript" src="../include/toolkit.js"></script>
    <script language="javascript">
    <!--
    if(window.history.forward(1) != null)
      window.history.forward(1);    
      
      
      function ValidarTATTEM() {
        var isValid = false;
        var strDecimal = "";       
    
        strDecimal = document.getElementById("txtHraETA").value;
        if(strDecimal.length >0) {
            if(strDecimal.indexOf(":")==-1) {
                alert("El formato de la Hora ETA debe ser HH:MM");
                isValid= false;
            }
            else {
                isValid = true;
            }
        }
        
        if(isValid) {
            strDecimal = document.getElementById("txtHraETD").value
            if(strDecimal.length >0) {
                if(strDecimal.indexOf(":")==-1) {
                    alert("El formato de la Hora ETD debe ser HH:MM");
                    isValid= false;
                }
                else {
                    isValid = true;
                }
            }
        }
        return isValid;
      }
      
    function popUpSelPerson(ctrl,ctrl2,PerCargo)
    {
    var url = "../persona/wfAddPerson.aspx?ctrl="+ctrl2+"&ccar="+PerCargo;
    window.open(url,"per","width=980,height=720,status=yes");
    }
    
    
    function popUpOpenTrab(ctrl,ctrl2,PerCargo)
    {
    var miForm = document.form1;
    if(miForm.hid_IdInfTra.value.length >0)
    {
    var url = "./wfRegTrab.aspx?ctrl="+ctrl2+"&wv="+miForm.hid_IdInfTra.value;
    window.open(url,"trab","width=1000,height=1000,status=yes");
    }
    else
    {
    alert('No ha registrado el trabajo');
    }
    }
    
    function popUpOpenSelTrab(idTrab, seqTrab)
    {        
    var url = "./wfRegTrab.aspx?wv="+idTrab+"&sq="+seqTrab;
    window.open(url,"trab","width=1000,height=1000,status=yes");    
    }
    
    function PopUpReport() {    
        var URL = "../Reportes/wfViewerPopUpSinFiltro.aspx?";
        URL += "par=" + document.getElementById("txtFecInfo").value;
        URL += "&val=" + document.getElementById("ddl_ProdLin").value;
        //URL += "&rep=" + "rsRptInfDiarioV2";
        URL += "&rep=" + "rsRptInfDiarioV2";
        window.open(URL,"_report","width=1000px;height=800px,toolbar=no,resizable=1;");
    }    
    -->
    </script>
</head>
<body>
    <form id="form1" runat="server">	
        <uc1:wuc_Header ID="Wuc_Header1" runat="server" />
    <div id="content">
    <br />
<table cellpadding="0" cellspacing="0" border="0" width="100%">  
  <tr>
    <td colspan="5" align="center" valign="top">
<table width="100%" border="0" bordercolor="#D5D5D5" cellpadding="0" cellspacing="0">
    <tr>
        <td rowspan="8" width="15%" valign="top">
        <table width="100%">
                <tr>
                    <td>
                        <table cellpadding="0" cellspacing="2" width="100%">
                            <tr>
                                <td class="CptWFMain">Accesos Directos</td>
                            </tr>
                            <tr>
                                <td class="Menu">
					            <asp:Label ID="lblMenu" runat="server"></asp:Label>								
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 3px">
                                </td>
                            </tr>
                            <tr>
                                <td class="Menu" style="width: 3px">
                                    <span class="lblNota">Formato de Trabajos Especiales:</span><br /><a href="#"><img src="../styles/a-main/Excel.jpg" border="0" alt="Trabajos Especiales" /></a>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
        <td colspan="1" style="width: 13px; height: 15px;">
            </td>
        <td colspan="5">
		
		
		
		<TABLE id=TablaMargen height=380 cellSpacing=0 cellPadding=0 width=984 border=0>
        <TBODY>
        <TR height=7>
          <TD width=7 background="../styles/a-main/img_izq1.gif" 
          colSpan=2 height=7></TD>
          <TD>
            <TABLE id=TablaMargenSuperior height=7 cellSpacing=0 cellPadding=0 
            width=970 border=0>
              <TBODY>
              <TR height=1>
                <TD width="100%" 
                background="../styles/a-main/pixel1.gif" 
                height=1></TD></TR>
              <TR height=6>
                <TD width="100%" 
                background="../styles/a-main/spacer(1).gif" 
                height=6></TD></TR></TBODY></TABLE></TD>
          <TD width=7 background="../styles/a-main/img_der1.gif" 
          colSpan=2 height=7></TD></TR>
        <TR height=492>
          <TD width=1 background="../styles/a-main/pixel1.gif" height="100%">
          <IMG src="../styles/a-main/spacer.gif" width=1></TD>
          <TD width=6 background="../styles/a-main/spacer(1).gif" 
          height="100%"></TD>
          <TD vAlign=top width=970><!-- INICIO DE TABLA DE CONTROLES DE PANTALLA TAMAÑO 970-->
            <TABLE id=TablaEntornoPrincipal cellSpacing=0 cellPadding=0 
            width="100%">
              <TBODY>
              <TR>
                <TD width=10><IMG 
                  src="../styles/a-main/spacer.gif" width=10></TD>
                <TD width=950><!-- INICIO DE TABLA PRINCIPAL 950-->
                  <TABLE id=TablaPrincipal cellSpacing=0 cellPadding=0 
                  width="100%">
                    <TBODY>
                    <TR>
                      <TD>
			<!-- TABLA TITULO-->
                        <TABLE id=TablaTitulo cellSpacing=0 cellPadding=0 
                        width="100%">
                          <TBODY>
                          <TR>
                            <TD width=7 style="height: 19px"><IMG height=7 
                              src="../styles/a-main/bullet_flecha.gif" 
                              width=7></TD>
                            <TD class=Texto_titulo1 align=left style="height: 19px">
							<span class="sTit">MODULO DE REGISTRO DE TRABAJOS</span></TD></TR></TBODY></TABLE>
			<!-- FIN TABLA TITULO--></TD></TR><!-- INICIO DE UN ESPACIO TITULO - BUSQUEDA -->
                    <TR>
                      <TD height=10></TD></TR><!-- FIN DE UN ESPACIO TITULO - BUSQUEDA -->
                    <TR>
                      <TD>
					  
					  <!-- TABLA BUSQUEDA-->
                        <TABLE id=TablaMargenBusqueda height=100 cellSpacing=0 
                        cellPadding=0 width="100%" bgColor=#f6f6f6 border=0>
                          <TBODY>
                          <TR height=7>
                            <TD width=7 
                            background="../styles/a-main/img_izqgris1.gif" 
                            colSpan=2 height=7></TD>
                            <TD>
                              <TABLE id=TablaMargenSuperiorBusqueda height=7 
                              cellSpacing=0 cellPadding=0 width="100%" 
                                border=0><TBODY>
                                <TR height=1>
                                <TD width="100%" 
                                background="../styles/a-main/pixel1.gif" 
                                height=1></TD></TR>
                                <TR height=6>
                                <TD width="100%" 
                                background="../styles/a-main/spacer(1).gif" 
                                height=6></TD></TR></TBODY></TABLE></TD>
                            <TD width=7 
                            background="../styles/a-main/img_dergris1.gif" 
                            colSpan=2 height=7></TD></TR>
                          <TR height=86>
                            <TD width=1 
                            background="../styles/a-main/pixel1.gif" 
                            height="100%"><IMG 
                              src="../styles/a-main/spacer.gif" 
                              width=1></TD>
                            <TD width=6 
                            background="../styles/a-main/spacer(1).gif" 
                            height="100%"></TD>
                            <TD width=936>
							
							<!-- INICIO DE TABLA DE CONTROLES DE BUSQUEDA TAMAÑO 936-->
		
<table width="780" border="0" cellspacing="0" cellpadding="0"> <!-- bordercolor="#ECECEC" -->
    <tr>
        <td>
        </td>
        <td style="font-size: 12pt; font-family: Times New Roman">
        </td>
        <td style="font-size: 12pt; font-family: Times New Roman">
        </td>
        <td>
        </td>
        <td>
            <span class="lblCaption">Estado del P/T:</span></td>
        <td>
            <asp:Label ID="lblEstInf" runat="server" CssClass="et_InfAbi"></asp:Label></td>
        <td>
        </td>
    </tr>
<tr>
<td><span class="lblCaption">Área:</span></td>
<td style="font-size: 12pt; font-family: Times New Roman"><asp:DropDownList ID="ddl_ProdLin" runat="server" CssClass="sel"></asp:DropDownList></td>
<td style="font-size: 12pt; font-family: Times New Roman"><span class="lblCaption">Fecha del Informe:</span></td>
<td><asp:TextBox ID="txtFecInfo" onblur="valFecha(this)" contentEditable="false" runat="server" CssClass="inTextData" EnableViewState="False" Width="70px"></asp:TextBox>
    <img src="../styles/cssmain/calendar.gif" border="0" onClick="popUpCalendar(this, txtFecInfo, 'dd/mm/yyyy')" id="imgFecInfo" />
        <asp:RequiredFieldValidator ID="rfv_fecInf" runat="server" ControlToValidate="txtFecInfo"
            ErrorMessage="Fecha no debe estar vacia" ValidationGroup="a">*</asp:RequiredFieldValidator></td>
<td><span class="lblCaption">Aeronave: CC-</span>&nbsp;</td>
<td><asp:TextBox ID="txtMatAvi" runat="server" CssClass="inTextData toUpper" MaxLength="3" Width="75px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="rfv_MatAvi" runat="server" ControlToValidate="txtMatAvi" ErrorMessage="Matricula No debe estar vacia" ValidationGroup="a">*</asp:RequiredFieldValidator>
    &nbsp; &nbsp;&nbsp;
        <asp:ImageButton ID="imgConsultaInf" runat="server" ImageUrl="../styles/a-main/BTbuscar.gif"
            OnClick="imgConsultaInf_Click" ValidationGroup="a" /></td>
    <td>
        </td>
</tr>
</table>
<table width="780" border="0" cellspacing="2" cellpadding="3">
    <tr>
        <td align="center" colspan="7">
        </td>
    </tr>
    <tr>
        <td style="width: 134px">
        </td>
        <td style="width: 101px">
        </td>
        <td rowspan="1" style="width: 45px">
        </td>
        <td align="right" colspan="4" rowspan="1" style="font-size: 9pt; color: #002469; font-family: Arial">&nbsp;
            
        </td>
    </tr>
    <tr>
        <td style="width: 134px">
        <span class="lblCaption">Fecha del Vuelo:</span></td>
        <td style="width: 101px">
            <asp:TextBox ID="txtFecVuelo" onblur="valFecha(this)" contentEditable="false" runat="server" CssClass="inTextData" Width="70px"></asp:TextBox><img src="../styles/cssmain/calendar.gif" border="0" onClick="popUpCalendar(this, txtFecVuelo, 'dd/mm/yyyy')" id="Img2" /><asp:RequiredFieldValidator ID="rfv_FecVuelo" runat="server" ControlToValidate="txtFecVuelo"
            ErrorMessage="La Fecha de vuelo no debe estar vacia" ValidationGroup="b">*</asp:RequiredFieldValidator></td>
        <td rowspan="3" style="width: 45px">
            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../styles/a-main/look.gif"
                OnClick="ImageButton1_Click" ToolTip="Verificar Datos de Pizarra" Enabled="False" /></td>
        <td colspan="4" rowspan="3">
        <div id="divDatosVuelo" runat="server">
            <table width="450" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
                                                    <tr>
                                                        <td class="tit_texto1">Horarios del vuelo</td>
                                                    </tr>
                <tr>
                                                        <td style="height: 20px">
                                                            <div id="divDatPizETA" runat="server" class="lblCaption">
                                                                <span class="lblCaption">Hora de Llegada (ETA): &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;</span>
                                                                <asp:Label ID="lblHraETA" runat="server">dd/mm/aaaa - 00:00 (24hrs)</asp:Label>
                                                        </div>
                                                            <div id="divDatManETA" style="display: none;" runat="server">
                                                                <span class="lblCaption">Fecha y Hora de Llegada (Manual) : &nbsp; </span>
                                                                <asp:TextBox ID="txtFecETA" runat="server" contentEditable="false" CssClass="inTextData" Enabled="False"
                                                                    onblur="valFecha(this)" Visible="False" MaxLength="10" Width="95px"></asp:TextBox><img
                                                                        src="../styles/cssmain/calendar.gif" border="0" onClick="popUpCalendar(this, txtFecETA, 'dd/mm/yyyy')"
                                                                        id="imgFecETA" style="font-size: 9pt" />
                                                                <asp:TextBox ID="txtHraETA" onKeyPress="return ValidaKeyHora(event);" runat="server" CssClass="inTextData" Enabled="False"
                                                                    Visible="False" MaxLength="5" Width="50px"></asp:TextBox>
                                                            </div>
                                                        </td>
                                                    </tr>
                <tr>
                                                        <td>
                                                            <div id="divDatPizETD" runat="server" class="lblCaption">
                                                                <span class="lblCaption">Hora de Salida (ETD): &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</span>
                                                                <asp:Label ID="lblHraETD" runat="server">dd/mm/aaaa - 00:00 (24hrs)</asp:Label>                                                             
                                                        </div>
                                                            <div id="divDatManETD" style="display: none;" runat="server">
                                                                <span class="lblCaption">Fecha y Hora de Salida (Manual): &nbsp;&nbsp;&nbsp; &nbsp;</span>
                                                                <asp:TextBox ID="txtFecETD" runat="server" CssClass="inTextData" Enabled="False" onblur="valFecha(this)"
                                                                    contentEditable="false" Visible="False" MaxLength="10" Width="95px"></asp:TextBox><img src="../styles/cssmain/calendar.gif"
                                                                        border="0" onClick="popUpCalendar(this, txtFecETD, 'dd/mm/yyyy')" id="imgFecETD" style="font-size: 9pt; font-family: Arial" />
                                                                <asp:TextBox ID="txtHraETD" onKeyPress="return ValidaKeyHora(event);" runat="server" CssClass="inTextData" Enabled="False"
                                                                    Visible="False" MaxLength="5" Width="50px"></asp:TextBox>
                                                            </div>
                                                        </td>
                                                    </tr>
            </table>
        </div>
        </td>
    </tr>
    <tr>
        <td style="width: 134px;">
            <span class="lblCaption">Vuelo de Llegada (ETA)</span></td>
        <td>
              <asp:TextBox ID="txtETA" runat="server" CssClass="inTextData toUpper" OnTextChanged="txtETA_TextChanged" Width="70px"></asp:TextBox><asp:RequiredFieldValidator ID="rfv_NumETA" runat="server" ControlToValidate="txtETA"
                  ErrorMessage="El Número ETA no debe estar vacio" ValidationGroup="b">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr>
        <td style="width: 134px">
            <span class="lblCaption">Vuelo de Salida (ETD)</span></td>
        <td style="width: 101px">
              <asp:TextBox ID="txtETD" runat="server" CssClass="inTextData toUpper" Width="70px"></asp:TextBox><asp:RequiredFieldValidator ID="rfv_NumETD" runat="server" ControlToValidate="txtETD"
                ErrorMessage="El número ETD no debe estar vacio" ValidationGroup="b">*</asp:RequiredFieldValidator></td>
    </tr>
    <tr style="font-size: 9pt; color: #002469; font-family: Arial">
        <td style="height: 24px">
              </td>
        <td style="height: 24px;">
              <span
                  style="font-size: 9pt; color: #002469; font-family: Arial"> &nbsp;</span></td>
        <td style="height: 24px">
        </td>
        <td style="height: 24px; width: 345px;">
            <asp:CheckBox ID="chkTransMantto" runat="server" CssClass="lblCaption" Height="17px"
                Text="Transportar a Mantto" />&nbsp;
            <asp:ImageButton ID="imgCalcularTATTEM" runat="server" ImageUrl="../styles/a-main/BTCalcularTATTEM_dis.gif" OnClick="imgCalcularTATTEM_Click" OnClientClick="return ValidarTATTEM();" Enabled="False" /></td>
        <td style="height: 24px;">
        <asp:Label ID="lblTATTEM" runat="server" CssClass="lblCaption"></asp:Label></td>
        <td>
        </td>
        <td style="color: #000000; width: 1px; height: 24px;">
        </td>
    </tr>
    </table>
<table>	
    <tr>
        <td colspan="1" style="width: 13px; height: 21px">
            <img border="0" src="../styles/a-main/Bullet485.gif" /></td>
        <td colspan="5">
            <span class="sTit"> Personal a Cargo</span></td>
    </tr>
    <tr>
        <td colspan="1">
        </td>
        <td colspan="5">
            <table border="0" cellpadding="3" cellspacing="2" width="780">
                <tr>
                    <td>
        <span class="lblCaption">Supervisor:</span></td>
                    <td>
                        <asp:TextBox ID="txtSuperv" runat="server" contentEditable="false" CssClass="inTextData" Width="500px"></asp:TextBox>
        <img src="../styles/cssmain/Personas.gif" border="0" onClick="popUpSelPerson(this, 'txtSuperv', '46')" id="imgSuper" /></td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td style="width: 3px">
                    </td>
                </tr>
                <tr>
                    <td>
            <span class="lblCaption">Team Leader:</span></td>
                    <td>
                        <asp:TextBox ID="txtTLeader" runat="server" contentEditable="false" CssClass="inTextData" Width="500px"></asp:TextBox>
            <img src="../styles/cssmain/Personas.gif" border="0" onClick="popUpSelPerson(this, 'txtTLeader', '40')" id="imgTLeader" /></td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td style="width: 3px">
                    </td>
                </tr>
                <tr>
                    <td style="height: 21px">
            <span class="lblCaption">Encargado:</span></td>
                    <td style="height: 21px">
                        <asp:TextBox ID="txtEncar" runat="server" contentEditable="false" CssClass="inTextData" Width="500px"></asp:TextBox>
            <img src="../styles/cssmain/Personas.gif" border="0" onClick="popUpSelPerson(this, 'txtEncar', '40')" id="imgEncar" /></td>
                    <td style="height: 21px">
                    </td>
                    <td style="height: 21px">
                    </td>
                    <td style="height: 21px">
                    </td>
                    <td style="height: 21px">
                    </td>
                    <td style="height: 21px">
                    </td>
                    <td style="width: 3px; height: 21px;">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan="1">
            <img border="0" src="../styles/a-main/Bullet485.gif" /></td>
        <td colspan="5">
            <strong><span style="font-size: 10pt; color: #a60f38; font-family: Arial">Detalle de Trabajos</span></strong></td>
    </tr>
    <tr>
        <td colspan="1">
        </td>
        <td colspan="5">
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td style="width: 137px; height: 21px">
        <span class="lblCaption">Grupo en Turno:</span></td>
                    <td style="width: 169px; height: 21px">
        <asp:TextBox ID="txtTurno" runat="server" CssClass="inTextData toUpper" MaxLength="1" Width="75px"></asp:TextBox></td>
                    <td style="width: 146px; height: 21px">
                        <span class="lblCaption">Estado Final del Avión:</span></td>
                    <td style="height: 21px">
                        <asp:DropDownList ID="ddlEstAvion" runat="server" CssClass="sel">
        </asp:DropDownList></td>
                    <td style="height: 21px">
                    </td>
                    <td style="height: 21px">
                    </td>
                    <td style="height: 21px">
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan="1">
        </td>
        <td colspan="5">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center" colspan="6">
            <asp:ImageButton ID="imgRegInforme" runat="server" ImageUrl="../styles/a-main/BTgrabar_dis.gif"
            OnClick="imgRegInforme_Click" Enabled="False" />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
            <asp:ImageButton ID="imgEditInforme" runat="server" ImageUrl="../styles/a-main/BTModificar_dis.gif" ToolTip="Activar para modificar el informe" OnClick="imgEditInforme_Click" Enabled="False" />
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 
        <asp:ImageButton ID="imgCerrarInforme" runat="server" ImageUrl="../styles/a-main/BTCerrarInforme_dis.gif"
            OnClick="imgCerrarInforme_Click" ToolTip="Cerrar Informe" Enabled="False" /></td>
    </tr>
    <tr>
        <td colspan="1">
        </td>
        <td colspan="5">
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        </td>
    </tr>
    <tr>
        <td colspan="1" style="height: 42px">
        </td>
        <td colspan="5" style="height: 42px">
        
        <div id="divTrabajos" runat="server" style="display:none;">
<table cellpadding="0" cellspacing="0" border="0" width="780">
    <tr>
        <td align="right" colspan="7">
            &nbsp;<asp:ImageButton ID="img_CambiarOrden" runat="server" ImageUrl="../styles/a-main/gridCambiarOrden.png"
        ToolTip="Cambiar Orden" OnClick="img_CambiarOrden_Click" />
    <asp:ImageButton ID="imgCancelOrdenTrab" runat="server" ImageUrl="../styles/a-main/bot_cerrar_act.gif"
        OnClick="imgCancelOrdenTrab_Click" Visible="False" />
            <asp:ImageButton ID="imgAddTrab" runat="server" ImageUrl="../styles/a-main/bot_trabajo_act.gif" OnClientClick="javascript:popUpOpenTrab(this, 'viewtrabrel', '40');return false;" />
            <!--
            img src="../styles/a-main/bot_trabajo_act.gif" border="0" id="IMG1" onclick="javascript:popUpOpenTrab(this, 'viewtrabrel', '40');" alt="Añadir Trabajos"
            / -->            
            </td>
    </tr>
<tr>
<td colspan="7">
<asp:GridView ID="gvTrab" runat="server" AutoGenerateColumns="False" OnRowDataBound="gvTrab_RowDataBound" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" Width="100%" DataKeyNames="Id,SecuenciaTrabajo">
    <Columns>
        <asp:BoundField DataField="Id" HeaderText="ID" Visible="False" />
        <asp:BoundField DataField="SecuenciaTrabajo" HeaderText="Secuencia" Visible="False" />
        <asp:BoundField HeaderText="Descripcion" />
        <asp:BoundField HeaderText="Componente" />
        <asp:BoundField HeaderText="Horas Hombre" />
        <asp:TemplateField HeaderText="Orden">
            <ItemTemplate>
                <asp:Label ID="lblOrden" runat="server" ToolTip='<%# Eval("SeqTrabRealizado")%>'><%# Eval("SeqTrabRealizado") %></asp:Label><asp:DropDownList
                    ID="ddlOrden" runat="server" Visible="false">
                    <asp:ListItem>0</asp:ListItem>
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
                    <asp:ListItem>13</asp:ListItem>
                    <asp:ListItem>14</asp:ListItem>
                    <asp:ListItem>15</asp:ListItem>
                </asp:DropDownList>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Detalles">
            <ItemTemplate>
                &nbsp;
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
    <RowStyle BackColor="#EEEEEE" ForeColor="Black" CssClass="RowGrid" />
    <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
    <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" CssClass="titGrid" />
    <AlternatingRowStyle BackColor="Gainsboro" />
</asp:GridView> &nbsp;
          </td>
</tr>
</table>
</div>
</td>
    </tr>
</table>

<!-- FIN TABLA BUSQUEDA-->

								</TD>
                            <TD width=6 
                            background="../styles/a-main/spacer(1).gif" 
                            height="100%"></TD>
                            <TD width=1 
                            background="../styles/a-main/pixel1.gif" 
                            height="100%"><IMG 
                              src="../styles/a-main/spacer.gif" 
                              width=1></TD></TR>
                          <TR height=7>
                            <TD width=7 
                            background="../styles/a-main/img_izqgris2.gif" 
                            colSpan=2 height=7></TD>
                            <TD>
                              <TABLE id=TablaMargenInferiorBusqueda height=7 
                              cellSpacing=0 cellPadding=0 width="100%" 
                                border=0><TBODY>
                                <TR height=6>
                                <TD width="100%" 
                                background="../styles/a-main/spacer(1).gif" 
                                height=6></TD></TR>
                                <TR height=1>
                                <TD width="100%" 
                                background="../styles/a-main/pixel1.gif" 
                                height=1></TD></TR></TBODY></TABLE></TD>
                            <TD width=7 
                            background="../styles/a-main/img_dergris2.gif" 
                            colSpan=2 height=7></TD></TR></TBODY></TABLE>
							<!-- FIN TABLA BUSQUEDA-->

<!-- FIN TABLA TOTAL --></TD></TR></TBODY></TABLE><!-- FIN DE TABLA PRINCIPAL 950--></TD>
                <TD width=10><IMG 
                  src="../styles/a-main/spacer.gif" 
              width=10></TD></TR></TBODY></TABLE><!-- FIN DE TABLA DE CONTROLES DE PANTALLA--></TD>
          <TD width=6 
          background="../styles/a-main/spacer(1).gif" 
          height="100%"></TD>
          <TD width=1 background="../styles/a-main/pixel1.gif" 
          height="100%"><IMG src="../styles/a-main/spacer.gif" 
            width=1></TD></TR>
        <TR height=7>
          <TD width=7 background="../styles/a-main/img_izq2.gif" 
          colSpan=2 height=7></TD>
          <TD>
            <TABLE id=TablaMargenInferior height=7 cellSpacing=0 cellPadding=0 
            width=970 border=0>
              <TBODY>
              <TR height=6>
                <TD width="100%" 
                background="../styles/a-main/spacer(1).gif" 
                height=6></TD></TR>
              <TR height=1>
                <TD width="100%" 
                background="../styles/a-main/pixel1.gif" 
                height=1></TD></TR></TBODY></TABLE></TD>
          <TD width=7 background="../styles/a-main/img_der2.gif" 
          colSpan=2 height=7></TD></TR></TBODY></TABLE>
	
	
</table>




    </td>
  </tr>
</table>



</div>
    <asp:HiddenField ID="hid_IdInfTra" runat="server" />
            <asp:HiddenField ID="hid_HabIngManual" runat="server" />
    </form>
</body>
</html>